import { describe, it, expect } from 'vitest'
import * as fc from 'fast-check'

describe('项目配置验证', () => {
  it('Vitest 测试框架正常工作', () => {
    expect(1 + 1).toBe(2)
  })

  it('fast-check 属性测试框架正常工作', () => {
    fc.assert(
      fc.property(fc.integer(), fc.integer(), (a, b) => {
        return a + b === b + a
      }),
      { numRuns: 100 }
    )
  })
})
